Search results
22 packages found
Expands string index ranges within whitespace boundaries until letters are met
Like indexOf but returns array and counts per-grapheme
Convert between native JS string character indexes and grapheme-count-based indexes
Invert string index ranges
Crop array of ranges when they go beyond the reference string's length
Finds where are arbitrary templating marker heads and tails located
Iterate string considering ranges, as if they were already applied
Checks if a string has required substrings at given indexes.
Checks if a string has at least one prohibited substring at a given index.
Increment or decrement each index in every range
Iterate a string and any changes within given string index ranges
Returns every index o a given character in an string.
Checks if a string has required substrings at given indexes.
Checks if a string has at least one prohibited substring at a given index.
Retrieves all indexes, in non-overlapping ranges, of a substring in a string.
Like String#indexOf() but return all indexes
Swaps two chars in a string by indexes
String slices by line and column indexes
Split a string at one or more indices